import axios from '../utils/http'
const loginRequest=(params)=>{
    return axios.post('/mgo-music/user/login',params)
}
const registerRequest=(params)=>{
    return axios.post("/mgo-music/user/addUser",params)
}
// 找回密码
const forgetPassRequest=(params)=>{
    return axios.post("/w_api/forgetPass",params)
}
// 发送邮箱验证码
const sendEmailCodeRequest=(params)=>{
    return axios.post("/w_api/sendEmailCode",params)
}
export {
    loginRequest,
    registerRequest,
    forgetPassRequest,
    sendEmailCodeRequest
} 